package com.vids.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vids.model.entity.Ape;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 采集设备表 Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2019-06-06
 */
@Repository
@Mapper
public interface ApeMapper extends BaseMapper<Ape> {

    Ape getById(@Param("id") String id);

    void updateIsOnlineStatuts();


    List<Ape> findAll();

    List<Ape> getAnalysisRuleList(Map<String, Object> paramMap);

    List<Ape> findByIdList(String[] arr);

}
